const Mock = require('mockjs')

// 模拟一个接口
Mock.mock('/api/artList', {
  "code": 0,
  "data|10-20":[
    {
      "title": "@ctitle",
      "desc":"@cparagraph",
      "author":"@cname",
      "avatar":"@Image('100x100','@color','小甜甜')"
    }
  ]
})

// 预设变量 写在值中的